.class public Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/text/TextWatcher;
.implements Landroid/view/View$OnClickListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/ListView;

.field private e:Landroid/widget/EditText;

.field private f:Landroid/widget/ImageButton;

.field private g:Ljava/util/ArrayList;

.field private h:Ljava/lang/String;

.field private i:Lcom/hyphenate/chat/EMGroup;

.field private j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

.field private k:Ljava/util/ArrayList;

.field private l:Landroid/widget/LinearLayout;

.field private m:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

.field private n:Landroid/widget/Button;

.field private o:Lcom/waiqin365/lightwork/directory/b/t;

.field private p:Lcom/waiqin365/lightapp/view/NoNetView;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->e:Landroid/widget/EditText;

    return-object v0
.end method

.method private a(Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    move v1, v2

    :goto_0
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    move v3, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_0

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    if-eqz v0, :cond_1

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v3, "1"

    iput-object v3, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v4, "0"

    iput-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1

    :cond_2
    :goto_2
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_3

    invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    add-int/lit8 v2, v2, 0x1

    goto :goto_2

    :cond_3
    return-object p1
.end method

.method private a()V
    .locals 5

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "groupId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->h:Ljava/lang/String;

    if-eqz v0, :cond_2

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->g:Ljava/util/ArrayList;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMGroupManager;->getGroup(Ljava/lang/String;)Lcom/hyphenate/chat/EMGroup;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->i:Lcom/hyphenate/chat/EMGroup;

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->i:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getMembers()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->i:Lcom/hyphenate/chat/EMGroup;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMGroup;->getMembers()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v2

    invoke-virtual {v2}, Lcom/hyphenate/chat/EMClient;->getCurrentUser()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    new-instance v2, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-static {v0, p0}, Lcom/waiqin365/lightapp/im/utils/e;->a(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    invoke-static {v0, p0}, Lcom/waiqin365/lightapp/im/utils/e;->c(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    invoke-static {v0, p0}, Lcom/waiqin365/lightapp/im/utils/e;->b(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->l:Ljava/lang/String;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v3

    iget-object v4, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/db/offlinedata/m;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v3

    iget-object v4, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/db/offlinedata/m;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->n:Ljava/lang/String;

    iput-object v0, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->x:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    new-instance v0, Lcom/waiqin365/lightapp/im/contactlist/a/e;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->g:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/im/contactlist/a/e;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    :goto_1
    return-void

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->back()V

    goto :goto_1
.end method

.method private a(Ljava/lang/String;)V
    .locals 10

    const/16 v9, 0x8

    const/4 v8, 0x1

    const/4 v7, 0x0

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->g:Ljava/util/ArrayList;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v7}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->p:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->notifyDataSetChanged()V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_1
    :goto_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    const-string/jumbo v1, ""

    const-string/jumbo v6, " "

    invoke-virtual {v5, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v6

    array-length v6, v6

    if-le v6, v8, :cond_2

    const-string/jumbo v1, " "

    invoke-virtual {v5, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, v8

    :cond_2
    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v6}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v4

    const/4 v6, -0x1

    if-ne v4, v6, :cond_3

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_3

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_3
    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_4
    invoke-direct {p0, v2}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_5

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v1, v7}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->p:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v1, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->notifyDataSetChanged()V

    goto :goto_0

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v1, v7}, Landroid/widget/ListView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->p:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->notifyDataSetChanged()V

    goto/16 :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private b()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->f:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0, p0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->c:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private c()V
    .locals 3

    const v0, 0x7f0c070f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c0711

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030182

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c06ac

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->e:Landroid/widget/EditText;

    const v0, 0x7f0c0860

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->f:Landroid/widget/ImageButton;

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->p:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->p:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a:Landroid/widget/TextView;

    const v2, 0x7f080243

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0797

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    const v0, 0x7f0c0712

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f080136

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->c:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    const v0, 0x7f0c0796

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->l:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0798

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->m:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    const v0, 0x7f0c0799

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->n:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->n:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0805d3

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->n:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightwork/directory/b/t;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->m:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->e:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/im/contactlist/j;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/contactlist/j;-><init>(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/lightapp/im/contactlist/k;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/contactlist/k;-><init>(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->m:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    new-instance v1, Lcom/waiqin365/lightapp/im/contactlist/l;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/contactlist/l;-><init>(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Lcom/waiqin365/lightwork/directory/b/t;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Lcom/waiqin365/lightapp/im/contactlist/a/e;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->m:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->l:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->n:Landroid/widget/Button;

    return-object v0
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 0

    return-void
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, -0x1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->e:Landroid/widget/EditText;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/16 v1, 0x9

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    const/16 v1, 0xd

    invoke-virtual {v0, v1, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "selectempInfos"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v3, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->finish()V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "selectempInfos"

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v3, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->finish()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c070f -> :sswitch_0
        0x7f0c0712 -> :sswitch_2
        0x7f0c0799 -> :sswitch_3
        0x7f0c0860 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03014b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->b()V

    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 8

    const v7, 0x7f0805d3

    const/16 v6, 0x8

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getHeaderViewsCount()I

    move-result v0

    sub-int v1, p3, v0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->a()Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->q:Ljava/lang/String;

    if-eqz v4, :cond_1

    const-string/jumbo v4, "1"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->q:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    if-eqz v4, :cond_0

    const-string/jumbo v4, "0"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_3

    :cond_0
    const-string/jumbo v4, "1"

    iput-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v2, v1, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->notifyDataSetChanged()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v3, v0}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->n:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :cond_3
    const-string/jumbo v4, "0"

    iput-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v2, v1, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->j:Lcom/waiqin365/lightapp/im/contactlist/a/e;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/im/contactlist/a/e;->notifyDataSetChanged()V

    move v2, v3

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_5

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    :cond_4
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->m:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->m:Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;->getBottom()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/HorizontalListView;->setSelection(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->n:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 2

    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->a(Ljava/lang/String;)V

    invoke-interface {p1}, Ljava/lang/CharSequence;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->f:Landroid/widget/ImageButton;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/contactlist/DeleteContactsActivity;->f:Landroid/widget/ImageButton;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    goto :goto_0
.end method
